import request from '@/utils/request'

// 获取一分一段数据
export const getSegmentedScore = (type) => {
  return request({
    url:`/score/${type}`,
    method: 'get',
  });
};

export const fetchSegmentedScores = (params) => {
  return request({
    url:'/score',
    method: 'get',
    params
  });
};

